home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ggggeeeettttpppprrrroooojjjjaaaallllllll((((3333cccc)))) ggggeeeettttpppprrrroooojjjjaaaallllllll((((3333cccc))))
-
-
-
- NNNNAAAAMMMMEEEE
- getprojall, fgetprojall - enumerate all project IDs
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<pppprrrroooojjjj....hhhh>>>>
-
- iiiinnnntttt ggggeeeettttpppprrrroooojjjjaaaallllllll((((pppprrrroooojjjjiiiidddd____tttt ****bbbbuuuuffff,,,, iiiinnnntttt lllleeeennnn))));;;;
-
- iiiinnnntttt ffffggggeeeettttpppprrrroooojjjjaaaallllllll((((PPPPRRRROOOOJJJJ ttttooookkkkeeeennnn,,,, pppprrrroooojjjjiiiidddd____tttt ****bbbbuuuuffff,,,, iiiinnnntttt lllleeeennnn))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _g_e_t_p_r_o_j_a_l_l function stores information about all of the project IDs
- known to the system into an array of pppprrrroooojjjjiiiidddd____tttt structs pointed to by _b_u_f.
- A maximum of _l_e_n entries will be stored. The pppprrrroooojjjjiiiidddd____tttt struct is defined
- in <<<<pppprrrroooojjjj....hhhh>>>> and has the following format:
-
- #define MAXPROJNAMELEN 32
- typedef struct projid {
- char proj_name[MAXPROJNAMELEN]; /* project name */
- prid_t proj_id; /* project ID */
- } projid_t;
-
- Note that project names that have more than MMMMAAAAXXXXPPPPRRRROOOOJJJJNNNNAAAAMMMMEEEELLLLEEEENNNN-1 characters
- will be truncated. The _pppp_rrrr_oooo_jjjj______nnnn_aaaa_mmmm_eeee field is always null-terminated.
-
- The _f_g_e_t_p_r_o_j_a_l_l function is a variant of _g_e_t_p_r_o_j_a_l_l that uses a PPPPRRRROOOOJJJJ
- token to make it more efficient for repeated use. Otherwise its
- operation is identical. For more details on creating a PPPPRRRROOOOJJJJ token, see
- _o_p_e_n_p_r_o_j(3C).
-
- FFFFIIIILLLLEEEESSSS
- ////eeeettttcccc////pppprrrroooojjjjiiiidddd System project name to project ID mappings.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- closeproj(3C), getprojuser(3C), openproj(3C), projid(3C), projname(3C),
- projid(4), projects(5).
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- _g_e_t_p_r_o_j_a_l_l and _f_g_e_t_p_r_o_j_a_l_l both return the number of pppprrrroooojjjjiiiidddd____tttt's stored
- (which may be 0 if the none are defined for the system) or -1 if an error
- occurred.
-
- BBBBUUUUGGGGSSSS
- All of the functions use _f_o_p_e_n(3S) and are thus subject to its
- limitations.
-
- Project ID information should be (optionally) obtained via NIS.
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-